/*
 * @Descripttion:
 * @version:
 * @Author: congsir
 * @Date: 2023-10-18 22:37:54
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-10-21 08:22:29
 */
import React, { Suspense } from "react";
import ReactDOM from "react-dom/client";
import { HashRouter } from "react-router-dom";
import { Provider } from "react-redux";
import { ThemeProvider } from "styled-components";
import App from "./App";
import "@/assets/css/index.less";
import store from "@/store";
import theme from "@/assets/theme";
const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
  <Suspense fallback="loading">
    <Provider store={store}>
      <ThemeProvider theme={theme}>
        <HashRouter>
          <App />
        </HashRouter>
      </ThemeProvider>
    </Provider>
  </Suspense>
);
